/**
 * Created by ziyu on 2017/7/26.
 */
import React, {Component, PropTypes} from 'react'
import Common from '../Index'

class Index extends React.Component {
  constructor(props) {
    super(props)
    this.state = {
      collectionType: this.props.location.query.collectionType,
      isNewAdd: this.props.location.query.isNewAdd,
      conclusion: this.props.location.query.conclusion,
    }
  }

  componentDidMount() {
    this.getData()
  }

  getData() {
  }

  render() {
    return (
      <Common collectionType={this.props.location.query.collectionType} isNewAdd={this.props.location.query.isNewAdd}
              conclusion={this.props.location.query.conclusion}
              api='/collection/v2/distributeOrderGet/list'/>
    )
  }
}

export default Index
